package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *   `id` int(11) NOT NULL DEFAULT '0',
 *   `name` varchar(50) DEFAULT NULL,
 *   `salary` decimal(12,2) DEFAULT NULL,
 *   `dept_id` int(11) DEFAULT NULL
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {

    private Integer id;
    private String name;
    private Double salary;
    private Integer deptId;

}
